package easy;

import util.PrintUtils;

public class Solution_1480 {

    public int[] runningSum(int[] nums) {
        for (int i = 1; i < nums.length; i++) {
            nums[i] = nums[i - 1] + nums[i];
        }
        return nums;
    }

    public static void main(String[] args) {
        Solution_1480 model = new Solution_1480();
    }
}
